added eventhandlers to rulescreen.html menu.html and loginscreen.html
still need to discuss with group how to do the actual login