changed plain to login line 12 env.rb