Change background depending of user type

Hi there, I am developing an app where I need to change the background image depending of the type of user, this images will be changed over time so I need a way to load them from an especific URL.

I think there are 2 ways to go:

  1. put a placeholder image and once the user logs in change said image.
  2. change the style of the background and set it to download the image from the server.

Any ideas how to achieve something like this?
Thanks in advance.