Lab4 'Edit Profile' link not working properly

My 'Edit Profile' link is only working correctly when it is selected from the index page.  If it is clicked on any other page, it gives error messages.  I created a view and controller for Owner, but I'm doing something wrong.