Fixed login/register, addWastepoint returns error if no session.user exists