Added alert messages for if a user doesn't correctly input information in form. Added test.