Issue #005 Added sign in function

* added sign in and sign out
* changed some content around
* removed username and using email as unique name
* added some basic test for user log in
Added similar checks to attempt_sign_in, new, create with before action