Added dealer model, some views for authentications