Added more angular code to signin and signup controllers