finished stage 1 of the php app, working on stage 2 and displaying error messages on form