meh
reworking database, connection stuff because i broke it all
fix issues with opening authorize window