File logging added, fixed bugs, etc

addUser function renamed to createUser
isTokenVerifiedValid function has been remvoed