Trying to fix paged output in login