check if redis is available and added readonly to html input attributes