Extract session[:current_email] to app controller
Refactor controller and create user model