Added homepage, implemented flash messages, began validation.