Update MainFile.c

Modified in admin and customer function