added user creation, session creation, and current_user helper.