ajax implemented on user page