I would change the hash key from 'u' to 'user' here.  'u' implies user object, not user name.