add login action in server