database almost done
make LoginManager singleton
only login when launching and network is good