replace user_name into username and add devise to users