implemented checks for logins

- checks if all the fields are filled
- checks if the email is valid
- checks if the password is at least 5 char long
- checks if the password matches the other password