Add login endpoint to Api