setting database to my precise and routing layout devise