Login validation using password and number of attempts
Merge https://github.com/borgmatthew/CPS3222