Revert "installed a bunch of dependencies needed to make passport and thusly our login function work. Also changed a few of the names of the register user function in order to make them easier to understand."

This reverts commit 0d9a9ddf6a8ea06b1d5c49712dcab0adf70614dc.
Revert "Hopefully fixed all conflicts now."

This reverts commit 8672cca1fe17947ff02e2d89981ef1073322e77d.
Revert "Revert "installed a bunch of dependencies needed to make passport and thusly our login function work. Also changed a few of the names of the register user function in order to make them easier to understand.""

This reverts commit 3cd88e9a1aabfceec8b1c3f7e49663b902505807.