added AJAX for adding links, sign in and sign up