paginate index to show one post
different view for admins
devise for user login with pundit