user preferences

@ancafarcas
fixes #265