Added Database Component. Added save and getOneBy methods to Model. Finished registration and login. Changed index.