working on improving login flow, it's kind of a mess right now