Wrote library functions for getting a user from database, followed, following, and posts

Also updated documentation, and deleted some stuff Mayu did that was irrelevant and/or wrong