Update main.c

Create main functions, login functions and menu1 & menu 2 functions and its displays