added the functions getUserName() and getUserData() to $app['account']