breaking out auth module