Simple application login and registration using mysql.