This will be done by refactoring the current method, to return an error message instead of a boolean value. This will also update a typo on the user res.