Added Rails app to authenticate users