add secret key
check if user already exists
Merge pull request #5 from paultgibbons/master

add secret and existence check