working db, login, registration + .gitignore