generateSalt function added
Some functions added to users controller
Added basic logIn function and some other goodies