Made updates for user log-in
added some tests for users
Finished all log-in and log-out steps