Add code to support different roles login