After user registers, they are redirected to either the homepage or the pictures index page depending on where they came from before registering