Added sessions to php pages