checkboxes on login panel fixed & function calls moved to common.js