fixing problem with auth login