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
find_by_id is just find