adds basic ajax functionality
ajax for edit user profile. still needs error fixes