Adding jquery and Login function