setting up lib functions for verifying login and password