If it's only ever used once, probably cleaner to just use it directly, rather than putting it in a var. Same in login_view.