return error if user is not authenticated
Merge pull request #3 from gotche/fixing_case_user_is_not_authenticated

return error if user is not authenticated