Refactor global bootstrap
Authentication pages