Got registry to work and added a login page for admin work