adding login system, and mainFrame. Also layout for all pages