Add page authentication and bug fixes for exercise creation