changed div id '-msg' to '-invalid'
reverted to '-msg'
added 'username taken' error
verify field func