I am creating a simple chat application where the user is needed to login then it connects to a mysql table which checks the username and the password against existing recor