Home: Fixed intial data variable scope

The variable was not being identified in some situations and therefore
moved into $_SESSION