Implemented user messages.
Moved profile logic to ejs file.