Added getAccount function
Added user functions