adding size option
adding tests for error handling
adding extra-test for show-user page
using content_tag for flash