Send user to settings page instead of login

JS side of PR #16.