database quality of life changes. database helper now uses the static variables for all table and column names in queries. Merged columns "active" and "is_deleted" to "state" in sessions table

Made appropriate changes through program to reflect these changes