did not quite this method on why its not using session?