complete login and session