Made register and login functional also new controller admin