updated dir structure, added basic login/reg