moved it to php

sessions isnt working right