added primary album search to api