Fixed mismatching type warnings
Implemented basic method for retrieving account details