Added validations to rails models
added timer countdown for messagesShow
updated timer countdown; allows for guest users to view messages without login