User registartion fixes