added user register + fixes