Add login function to auth controller