Filled in gaps to make login display automatically when needed