built mainpage UI, login UI, and foundations of database models