Added checking session existence when session_start() will be executed

I added checking session existence, because an error occurs at session_start() if already session started.