Fix bug where private details arent private
remove js redirection