Code to allow admin to login once a code update has taken place and before the database has been upgraded