user login
move 'ping' method to main module