Moved login logic to a reusable directive.
More authentication

* We now have twitter authentication
* We also have a poster flag on users, which is now linked to the
  ability of posting things to the