Added 'public' field to the Project model and added JS code for Django CSRF token support.