added some sign in validation so you can't just go frolicking across other users' edit pages