Added authorization to previous authentication using pundit gem