its all in classes now. now to make a credentials manager