Added user's posts page and format flash messages