Account registration functionality

- Added account registration functionality.