Working on login and connection to mysql server