adding db and user models