Fixes to password change functionality

Adding tablespace create functiomnality