Updated user auth controller