fixing operation error, adding database url in app