Passcode

added app passcode, + minor changes