resolve db connection issue for application controller without authenticated actions