Added realm registration
Made forms use resource bundle for messages