Move hash function for UserNames to separate header file to improve compilation times