refactoring of the history 'user profile'

refactoring of the history 'user profile' 

I changed password length from 8 to 4, I added the history to slug column for  it remember old names and I added the migration friendly history