fixed logout problem on myProfile page.
Merge pull request #25 from gavlu/fix_auth_logout

fixed logout problem on myProfile page.