login and registration working with dummy database
annoyingly big and not used