fixed #4, logged in user