Create auth.functions.js