User Authentication, API Handling

Handles #48 as well.
Yea, hopefully you mean how i finally made it. As i changed it to an object as you instructed. Still getting used to separate things in express.