I am trying to make a login page where a user enters their username an password and it is checked in the database and whether or not the record is found the user would be grante