added login and logout feature
merging login_logout pull req
Merge pull request #5 from mule-deer-2013/login_logout

added login and logout feature