Update auth.js

Added the profile stuff here as well