Added the `is_activated()` method to the User model.
Check if the user has validated their email when logging in.
Display an error if the user has not validated their email.