not very clean, but working version for navbar logins, now needs jadev templates and coffeescript, as well as some approval from DaftMonk for the whole thing