add credentials to all queries and added delete query