add mongoose support
add auth methods