mad restructuring, need to comment better
the restructured code
need this for organization login
removed .env so it won't accedentially get added