Login modal fix

-Fixed jquery error with login - was calling jquery method on bootstrap modal.
#312