Fixed redirect when managing appointments from profile page