added modal functionality, finished wiring login and user notification server and clientside