implement front page, register, sign in page