Made basicview store in database instead of local