added jquery.rest library , login page working on auth