Error message login

If the fields are completed incorrectly the user isn't allowed to go
further.

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>