add push stub
refact for login required, and added utility func
Remove server check from non-remote commands