Revert "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 6fe91f38d58347f895fdd5233a81a1ad130a17e0.