finished login system, added if's to tempates for auth'd user