fixing some angular stuff adding authoriztion and authentication