Fix heroku issue
Fix heroku issue
Add user authentication function