register working, need to add ui errors