added login controller, a gem, probbaly broke something