added ability to attempt to login again if password was incorrect