+ add login requirement for Rconnection
+ add login mock