Share popup, as well as fixed login bug
Reworked frontend model to be easier to manage in the future, still need to fix somethings.