login and logout done

login and logout done