added logout for users
added a skeleton