renamed common app from "lib" to "common",

and moved password-checking logic to the common app to eliminate some more duplicate code in the views.
added dynamically generated navbar based on order specified in a new setting.

moved debug app to same base template.
missing import