add additional login checks