added flash messages
added styles for flash messages
added message error for bad email format
modified css/js for flash messages