user edit button redirection fix