add utils class with conn method
get dbconn using conn method in utils and assign to conn variable;replace existing connecting string with db variable in all action methods