Remove loophole

Remove loophole where after editing profile page go index page