[Server] Added user query, fixed comment insert query
[Server] Added user check
[Server] Added user check rule; Modified Ajax check
[Server] Added session imports
[Frontend] Added JSON check; Fixed loaded templates check; Modified template exec function (got rid of eval)
[Frontend] Fixed Routing rules check; Added history handling
[Frontend] Small fixes