Adding safety for avoiding mysql injection.