Added calendar widget
updated calendar widget table name
Fixed security funcs bug on login
Updated cal widget to use id
Added calendar json generator