Changed the realm of the application to "residence" from "realm1"