added my details to allow each user to change their password etc. Modified admin users to use a checkbox - much simplified.
move parameters processing out to module for admin users.