Updated with notempty for user data
Updated with error message for duplicate username signup