More work on settings. Added a callback page to handle the return values from unic and log the user in