write the errors directly in code by adding it to the annotation in models/User.java