updated user authentication errors and restrictions