created auth controller