Check against user, not profile, in the edit profile case
Fix pep8 indentation complaints
Rework talk status