added login action. doesn't work just yet. -paul