make the login arrow flexible
remove uncommented code