Updated config, coreclass and control_attendance

Almost finished the control_attendance-script, also updated the
set_userstate to manage more input (rewritten), updated CSS and
yourprofile and more.