added validation to the insert form [existential validation] -- still need to do range validation. Also fixed a login issue where multiple log in forms were appearing.