Auto logout feature and shows when the user last logged in.