Fixed bug with session redirect.
: