Add jump link to person search.
Fix status display for login/logout.
Use dialog for login & Fix logout URL.
Transfer user's permissions to client.
Further improvements to login dialog box.

* Use dialog not cm for variable.
* Hide dialog as soon as submitted.