remove newline
sanitize all input data
fail if user does not exist
Merge pull request #3 from gerrits/master

remove newline