added roles and php validation roles