get users error handling