Authorization, refactoring and UI improvements

Added auth via cancan
Refactored PostsController tests
Added top navigation bar for signed user
Improved layout for user profile edit and password reset screens

/cc @oksanka-blaze @RailsMafia/developers