Added validations to register transactions and enabled the users to share accounts
Created a method to get the accounts of a given user.