Add some login form.
Fix #logged_in? bug and add greeting helper.