using haml for registration