fix profile edit with csrf element
Merge pull request #966 from groovecoder/edit-profile-csrf

fix profile edit with csrf element