Added Cross-Site Request Forgery protection to both user and notemanager modules