add form validation, add form messages (error and success), add links