Hook up login action.