Users can log in with their email.
Merge pull request #303 from ngodfraind/logging-with-mail

Users can log in with their email.
Changed session default lifetime
Merge pull request #305 from stefk/session-lifetime

Changed session default lifetime