Check for id  before starting the app