added a toggle for using rsa in the login block