chaged login password field to password
added logout to home view
Logout logic.