WIP: getting too close to goal

Login & database finished.