add profile template and adjust navbar