adjusted accounts_controller file for production