Modify secret token generation and Gemfile