Added edit user spec. Fixed username bug by adding permitted parameters for devise in ApplicationController