add login componet with session