Standardized 401 and 404 errors on skip_controller and group_controller.

Updated Ajax calls to be safe for session expirations