Add basic struct and login

add basic struct and login by wayne