Added Test that you will be redirected to root site when trying to
register while logged in