securing data using POST in smsLogs, revisions to dashboard, registration, and home js