Add AJAX requests, registration page, and beginning of friends page