loggin and session completed