Add admin mode and fix login page