completes assignment
adds logout
completes project, with bugs