Fixed: Using too much sessions for one thing. Also, client-side code transferred from lib(server) to hooks(client) for cleanliness