added account app
refactored code