Refactoring, login works, add login store, upate styles