Fixes on user setup process

Assign database_name as first step in the process
Raise error if user database already exists before doing any other thing