Session management added. Only logged users can perform specific operations