Some login php cleanup.