added bypass login feature for registered user