Tests for authentication

I have added unit tests and functional tests for authentication. 
I think it would be nice for those who would like to see how to tests their authentication.
Tests added for Users Controller 
Tests added for Sessions Controller 
Edit and Update actions added to users
Rails version changed to 3.2.12