Rewrote login procedure to use JavaScript for clicking