remove empty if block which causes failed login to desktop
clean up