update views in devise and associate users to categories and posts