User login

Made the user login work
 Login

Login and logout functionality has been made complete with password
hashing and blocking all else except login for unlogged users