logger to Rails.logger
communicate with termianl after login