Login modified to select role