initial implement of login action