fixed bug with register redirecting to signin

fixed bug where registering would redirect user to sign-in instead of
userpage. now correctly redirects to userpage.