Added functioning Devise, Pundit and nested routes