creating database.py file, create_admin function and some changes in login