Added comments and change last_login on login