fixed minor authentication issue, added route for logout action

This patch fixes the User attribute update issue.