updated controllers for db and activeadmin css bug