Basic setup of user session.