User model
Added authentication to all pages.

Made C UB methods of posts and comments protected by authentication.
I used http://www.codeproject.com/Articles/575551/User-Authentication-in-Ruby-on-Rails#UsingOurAuthentication75
as reference for adding authentication