Commit before refactoring.
Refactored code that caused conflict connecting to MySQL database. Connected to MySQL for dev and prod databases and fixed issue causing error on asset controller in production. Added 'return' redirect for ids after a user logs in, which I'm not sure how I missed originally.