Fleshing out the skeleton giving a basic login, register, logout system