add methods, functions and defaults from user.js