Add login user functionality