Fixed user ID starting at 1 after app restart