modified login and webview selectors to support more than one form