Profile Edit Button Not Working

On this website of mine which I’m building, when one clicks the “Edit” button on their own profile page, it doesn’t work (at least half the time). Instead, the page just refreshes. If they are logged in with “remember me” enabled, I believe it does indeed work 100% of the time, but I may be wrong. Any ways, this issue is really bugging me as editing one’s profile is an important aspect of a website. Attached are the 3 main documents I’ve written that are used for my profile system. A solution by whoever is out there will be much appreciated. Thanks.

https://docs.google.com/folder/d/0B52zVddjYkbmUFowd3pVOE5IQjg/edit