add login action and links page