dynamically load resources in ProfilePictureView and LoginActivity