update home page, add login support