Adds login controller
Updates login controller and template