separated loading of web view to a different method