split out login part and multi page