created users controller script without any functionality yet
now authfactory returns something which was a bug on main,js
added function registerUser and angular attributres to the form
deleted unused test file, created new one with protractor test file
added validation to login form, added path change to users controller after user succesffully register