Abstract: A method is provided for logging a first user in to a mobile device being in a locked mode. The method comprising: storing a password associated with the first user and information that relates to a facial image of that first user; when the mobile device is in a locked mode: receiving a password inserted by a user; comparing the received password with the stored password and determining whether they match; if a match is found, prompting an image capturing device to capture an image; retrieving information that relates to a facial image from the captured image and comparing that information with the stored information; if the retrieved information matches the stored information, unlocking the mobile device.