build login command