Fixed the error where hibernate is not able to automatically flush on persist & merge
Added flow for user registration