Fixed last-post error and added Regex function for checking avatar requests.