Added password check

Added base password check for login