Added array of users for keeping track. Handled implementation on registration.
Added tests on registration.