creating flash policie for user registration