add a function to auth a user
add some more to the cred storage module