Added User Functionality and fixed registration issue
added user for task and fixed registration issue