cs253 hw4 done

part 2 - login
part 3 - logout