wire up login page