Include activerecord and database connection for users command