modified users controller. Added logins. Unfinished because lack of time...