Authorization so that you can only edit your own profile. Also added friendly redirects if you're not signed in