[Front/Back] Add validation to login