Restructured program. no password bypass capability at hte moment