added account functionality