added admin and fixed the submit problem