changes for rails user model and CSRF token management for ember