updates logins routes and controller