Created Login and Register authentication, also created Session variable appropriately and cleared it on logout.