Fixed user pages to stop error

If there is no one logged in, we should display no buttons and include
no ajax.