added db connection login