Rework login system
Reworked login

Made some changes to database