better usage for authenication, allows external route building