Fixed credentials
Added getInt and optInt.