Added functionality to add & retrive user accounts from database.