properly saving user submissions