Added registration functionality
Added registration functionality