added new functionality to fix #2 and adds login handeling and roles to pip
updated readme