cleanup login/logout routes, adding an index
extract methods into application_controller and add test for incorrect user creation
move mailer into user model
cleanup user mailer