Implement login command for example