add API and Request Bean
add login function