Add validation of format for user avatar