Added url attribute shortcode, fixed some bugs

Added url attribute to the useraccess shortcode. Optionally insert a url
to bounce restricted users to. Fixed a couple of bugs.