some changes to mostly login.  need to figure out how to store BC keys