Contacts and logout

Finished contacts and added logout functionality