Login and Get Perms with a click of a button