Rails app with custom user authentication among other things