Logout option implemented
Some comments added