removed auth components from main server to be put into a seperate server