Added Models, ref Third Draft
Added login, logout, register functions with urls