Created mysql connection,GUI improvement