AJAX Handled login/registration. Lists users and friends and allows you to add friends.