Connected to db and created test query

Connected to user_info database and created query to check whether
username and password are in the database. If in the db, username text
changes to "Success!" but if not then it changes to "Failure"