fixes #2: implement login command