adjusting error messages and user profile