added richfaces support, added registration bean