Fixed uaa interface and added uaa-db relation