function loginPage($forwardUrl, $userName) { StoreSession::startSession(); StoreSession::sessionData($userName); header("Location: {$forwardUrl}"); }