Finally got the damn thing to save users, working shoddily, will need to improve on it tomorrow