update login action

complete login action, after login, home page will show book list