Added messages and email validation
posts and email validation